Police apologize as court dismisses case against them for taking pictures with the suspect.